﻿using System.Web;

namespace Jink.Protocol.Media.Http
{
    public static class JinkProtocolExtensions
    {
        public static void Process(this JinkProtocol proto, HttpContext httpContext)
        {
            proto.Process(new HttpRequestMedia(httpContext.Request), new HttpResponseMedia(httpContext.Response));
        }
    }
}
